
public enum PortMode
{
   DEFAULT("Default"),
   DESIGNATED("Designated Port"),
   ROOT("Root Port");
   
   /** String representation of this port mode. */
   private final String str;
   
   // ------[CONSTRUCTOR]------ //
   
   PortMode(String str)
   {
      this.str = str;
   }
   
   // ------[PUBLIC METHODS]------ //
   
   public String toString()
   {
      return str;
   }
}
